#ifndef vertex_h__
#define vertex_h__
#include "vector.h"

namespace gecko
{

// Vertex containing position, normal, colour, texture coords
class Vertex
{
public:
	// Default constructor
	Vertex();

	// construct all members
	Vertex(const Vector3f& position, unsigned long colour, float tu, float tv);

	Vector3f Position;
	unsigned long Colour;
	float Tu;
	float Tv;
};

inline Vertex::Vertex()
: Position(0.0f, 0.0f, 0.0f)
, Colour(0xffffffff) 
, Tu(0.0f)
, Tv(0.0f)
{

}


inline Vertex::Vertex(const Vector3f& position, unsigned long colour, float tu, float tv)
	: Position(position)
	, Colour(colour) 
	, Tu(tu)
	, Tv(tv)
{
}

}

#endif // vertex_h__